admin: Add new run-triggers command
authorColin Walters <walters@verbum.org>
Sat, 22 Dec 2012 18:43:44 +0000 (13:43 -0500)
committerColin Walters <walters@verbum.org>
Sat, 22 Dec 2012 19:52:33 +0000 (14:52 -0500)
commit0ab1f78ec81b36ee02650f85ce806a894dc03a53
tree77f0cbf70a9b604d4dfee02435853911f90c920d
parent3832544ac40b5bbfcee3621cc5ab096ac64e578d
admin: Add new run-triggers command

In some cases we want the ability to run triggers independently of
checking out a tree.  For example, due to kernel limitations which
impact the gnome-ostree build system, we may need to run triggers on
first boot via systemd.

Secondarily, if the user installs a system extension which adds a new
shared library to /usr/lib for example, the system will need to run
the triggers again.

Also, I think I want to take triggers out of the core and put them in
ostree admin anyways.
Makefile-ostree.am
src/ostree/ot-admin-builtin-run-triggers.c [new file with mode: 0644]
src/ostree/ot-admin-builtins.h
src/ostree/ot-admin-functions.c
src/ostree/ot-admin-functions.h
src/ostree/ot-builtin-admin.c